<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>王者荣耀竞猜管理平台</title>
    <link rel="stylesheet" type="text/css"
          href="${pageContext.request.contextPath}/static/jquery-easyui-1.5.3/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css"
          href="${pageContext.request.contextPath}/static/jquery-easyui-1.5.3/themes/icon.css">
    <script type="text/javascript"
            src="${pageContext.request.contextPath}/static/jquery-easyui-1.5.3/jquery.min.js"></script>
    <script type="text/javascript"
            src="${pageContext.request.contextPath}/static/jquery-easyui-1.5.3/jquery.easyui.min.js"></script>
    <script type="text/javascript"
            src="${pageContext.request.contextPath}/static/jquery-easyui-1.5.3/locale/easyui-lang-zh_CN.js"></script>
</head>
<body>
<div align="center">
    <form id="ff" method="post" action="/userInfo/save" enctype="multipart/form-data">
        <table cellpadding="5">
            <tr>
                <td>用户昵称：</td>
                <td><input class="easyui-textbox" type="text" id="fdNickname" name="fdNickname"
                           data-options="required:true"/></td>
            </tr>
            <tr>
                <td>用户类型：</td>
                <td><input type="radio" name="fdType" value="1" checked/>普通会员
                    <input type="radio" name="fdType" value="0"/>系统用户
                </td>
            </tr>
            <tr>
                <td>用户头像：</td>
                <td>
                    <input class="easyui-filebox" name="avatar" id="avatar"
                           data-options="prompt:'选择图片...',required:true,buttonText:'选择头像',accept: 'image/*',buttonAlign:'right',editable:false">
                </td>
            </tr>
            <tr>
                <td>用户性别：</td>
                <td><input type="radio" name="fdSex" data-options="required:true" value="1" checked/>男
                    <input type="radio" name="fdSex" data-options="required:true" value="0"/>女
                </td>
            </tr>
            <tr>
                <td>用户等级：</td>
                <td><input class="easyui-textbox" type="text" id="fdGrade" name="fdGrade" data-options="required:true"/>
                </td>
            </tr>
            <tr>
                <td>密保邮箱：</td>
                <td><input class="easyui-textbox" type="text" id="fdEmail" name="fdEmail" data-options="required:true"/>
                </td>
            </tr>
            <tr>
                <td>用户手机：</td>
                <td><input class="easyui-textbox" type="text" id="fdMobile" name="fdMobile"
                           data-options="required:true"/></td>
            </tr>
            <tr>
                <td>用户状态：</td>
                <td><input type="radio" name="fdStatus" data-options="required:true" value="1" checked/>启用
                    <input type="radio" name="fdStatus" data-options="required:true" value="0"/>禁用
                </td>
            </tr>
            <tr>
                <td>登录密码：</td>
                <td><input class="easyui-textbox" type="text" id="fdPwd" name="fdPwd" data-options="required:true"/>
                </td>
            </tr>
          <%--  <tr>
                <td>账户余额：</td>
                <td><input class="easyui-textbox" type="text" id="fdOver" name="fdOver" data-options="required:true"/></td>
            </tr>--%>
           <%-- <tr>
                <td>投注总额：</td>
                <td><input class="easyui-textbox" type="text" id="fdBettingTotal" name="fdBettingTotal" data-options="required:true"/></td>
            </tr>
            <tr>
                <td>充值总额：</td>
                <td><input class="easyui-textbox" type="text" id="fdRechargeTotal" name="fdRechargeTotal" data-options="required:true"/></td>
            </tr>
            <tr>
                <td>推荐码：</td>
                <td><input class="easyui-textbox" type="text" id="fdRecommendCode" name="fdRecommendCode"
                           data-options="required:true"/></td>
            </tr>
            <tr>
                <td>我的推荐码：</td>
                <td><input class="easyui-textbox" type="text" id="fdMyCode" name="fdMyCode"
                           data-options="required:true"/></td>
            </tr>
            <tr>
                <td>用户角色：</td>
                <td><input name="fdRoleId" class="easyui-combobox" data-options="
                    valueField: 'fdId',
                    textField: 'fdName',
                    editable:false,
                    url: '/sysRole/comboList'"/>
                </td>
            </tr>--%>
        </table>
    </form>
    <div style="text-align:center;padding:5px">
        <a href="javascript:void(0)" class="easyui-linkbutton" onclick="submitForm()">提交</a>
        <a href="javascript:void(0)" style="margin-left: 20px" class="easyui-linkbutton" onclick="clearForm()">重置</a>
    </div>
</div>
</body>
<script src="${pageContext.request.contextPath}/static/pages/userInfo/add.js"></script>
<script>
</script>
</html>